<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h2 class="green">Add a new user role</h2>
<s:actionerror />
<s:fielderror />
<s:actionmessage />
<s:form action="userRole_add">
	<s:textfield name="newUserRole.name" label="User Role Name" />
	<s:select list="#{'No':'No', 'Yes':'Yes'}"
			name="newUserRole.emailPermission" 
			label="User need to receive mailers"></s:select>
	<s:select name="selectedMenuItem" list="menuList" label="Menu Items" 
		multiple="true" listKey="id" listValue="menuTitle">
	</s:select>
	<s:submit />
</s:form>
</body>
</html>